from likeshop.base.mybase import Tools


# 商品分类
class gategory_model(Tools):
    # 定义登录路径
    path = '/page/goods_category/lists'

    # 发送登录请求
    def gategory_action(self, proid):
        mydata = {
            'client': proid,
        }
        res = self.session.get(url=self.hosturl+self.path, params=mydata)
        return res.json()
